Automattic\WooCommerce\GoogleListingsAndAds\Product\ProductRepository S

Total Complexity 28
Dependencies 6
Dependents 10
Total lines 361
Lines of code 154
Logical lines of code 62
Comment lines 162
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
prepare_query_args()
S
56 6 19
find_all_synced_google_ids()
S
55 3 19
find_by_ids()
S
68 2 7
find_by_ids_as_associative_array()
S
66 2 8
find_expiring_product_ids()
S
59 1 15
get_sync_ready_products_query_args()
S
66 2 8
get_sync_ready_products_meta_query()
S
62 1 14
get_valid_products_meta_query()
S
62 1 14
execute_woocommerce_query()
S
72 1 5
find_all_product_ids()
S
66 1 8
__construct()
S
77 1 4
find()
S
74 1 4
find_sync_ready_products()
S
74 1 4
get_synced_products_meta_query()
S
69 1 8
find_synced_product_ids()
S
74 1 4
find_synced_products()
S
74 1 4
find_ids()
S
74 1 4
find_delete_product_ids()
S
70 1 5